<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://xmlns.jcp.org/jsf/core">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <h:outputStylesheet name="./css/default.css"/>
        <h:outputStylesheet name="./css/cssLayout.css"/>
        
        <title> <ui:insert name="title">Content</ui:insert></title>
    </h:head>

    <h:body>

        <div id="nav" class="top">
           <h:form>
            <p:menubar>
                <p:menuitem rendered="true" value="Usuarios" url="/faces/secure/usuarios.xhtml" icon="ui-icon-document"/>

                <p:submenu  rendered="true" label="Recursos" icon="ui-icon-pencil">
                    <p:menuitem rendered="true" value="Administracion" action="recursos" icon="ui-icon-arrowreturnthick-1-w" />
                    <p:menuitem rendered="true" value="Reservas" url="reservas.xhtml" icon="ui-icon-arrowreturnthick-1-e" />
                    <p:menuitem rendered="true" value="Prestamos" url="prestamos.xhtml" icon="ui-icon-arrowreturnthick-1-e" />
                </p:submenu>

                <f:facet name="options">                       
                    <p:commandButton type="button" value="Logout" icon="ui-icon-extlink" />
                </f:facet>
            </p:menubar>
        </h:form>      
        </div>

        <div id="content">
            <ui:insert name="content">Content</ui:insert>
        </div>
        
        
        
    </h:body>
    
                
</html>
